<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE html>
<html>
<head>
<base href="<%=basePath%>">
<meta charset="UTF-8">
<title>Basic ValidateBox - jQuery EasyUI Demo</title>
<link rel="stylesheet" type="text/css" href="themes/default/easyui.css">
<link rel="stylesheet" type="text/css" href="themes/icon.css">
<link rel="stylesheet" type="text/css" href="css/demo.css">
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/jquery.easyui.min.js"></script>

<style scoped="scoped">
.textbox {
	height: 20px;
	margin: 0;
	padding: 0 2px;
	box-sizing: content-box;
}
</style>
</head>
<body>
	<div style="margin:20px 0;"></div>
	<div class="easyui-panel" title="用户注册"
		style="width:400px;padding:10px 60px 20px 60px;">
		<form action="user" method="post">
			<input type="hidden" name="oper" value="reg" />
			<table cellpadding="5">
				<tr>
					<td>用户名:</td>
					<td><input name="uname" class="easyui-validatebox textbox"
						data-options="required:true" missingMessage="用户名必填"></td>
				</tr>
				<tr>
					<td>密码:</td>
					<td><input name="pwd" class="easyui-validatebox textbox"
						data-options="required:true,validType:'email'"
						missingMessage="密码必填"/></td>
				</tr>

				<tr>
					<td>性别:</td>
					<td>
					      男: <input type="radio" name="sex" value="1"
						checked="checked" /> 
						女: <input type="radio" name="sex" value="0" />
					</td>
				</tr>
				<tr>
					<td>年龄:</td>
					<td><input name="age" value=""/></td>
				</tr>
				<tr>
					<td>生日:</td>
					<td><input name="birth"  type="date"
						value=""/></td>
				</tr>
				<tr>
					<td colspan="2" align="center"><input type="submit" value="注册" />
					</td>
				</tr>
			</table>
		</form>
	</div>


</body>
</html>